import EventEmitter from 'eventemitter3';

const EE = new EventEmitter();

export const actions = {
  Delete: 'delete',
  Select: 'select',
  Add: 'add'
}

export const callbacks = {
  RemoveChild: 'remove-child'
}

export const getEventName = (type, id) => {
  return `${type}_${id}`;
}

export default EE;